<template>
  <div id="app">
    <router-view/>
    <img src="@/assets/images/error-bg.png" alt="" class="hidden-img"/>
    <img src="@/assets/images/error-network-btn.png" alt="" class="hidden-img"/>
    <img src="@/assets/images/error-network-text.png" alt="" class="hidden-img"/>
    <img src="@/assets/images/error-face-text.png" alt="" class="hidden-img"/>
    <img src="@/assets/images/error-face-btn.png" alt="" class="hidden-img"/>
    <img src="@/assets/images/error-yuan-btn.png" alt="" class="hidden-img"/>
    <img src="@/assets/images/error-yuan-text.png" alt="" class="hidden-img"/>
  </div>
</template>

<script>
export default {
  name: 'app',
  created () {
    // 刷新后直接进入海报页，因为result数据会丢失
    this.$router.replace({
      name: 'index'
    })
  }
}
</script>

<style lang="scss">
#app {
  width: 100%;
  height: 100%;
  & > * {
    width: 100%;
    height: 100%;
  }
}
</style>
